/**       
 * @{#} BasePoolableObjectFactory.java Create on 2012-3-29 下午12:34:48       
 *       
 * Copyright (c) 2012 by able.       
 */
package __javable.core.util.pool;

/** 
 *  
 * 
 * @history 
 * <PRE> 
 * --------------------------------------------------------- 
 * VERSION       DATE            BY       CHANGE/COMMENT 
 * --------------------------------------------------------- 
 * 1.0           2012-3-29      able         create 
 * --------------------------------------------------------- 
 * </PRE> 
 * 
 */
public abstract class BasePoolableObjectFactory<T> implements PoolableObjectFactory<T>{
	
    @Override
    public abstract T makeObject() throws Exception;

    @Override
    public void destroyObject(T obj)
        throws Exception  {
    }

    @Override
    public boolean validateObject(T obj) {
        return true;
    }

    @Override
    public void activateObject(T obj) throws Exception {
    }

    @Override
    public void passivateObject(T obj)
        throws Exception {
    }
}
